<script setup lang="ts">
import { EMessageBox } from 'exploria-ui';

const confirm = () => {
    EMessageBox.confirm('确定删除吗？').then((res) => {
        alert(res);
    });
};
</script>

<template>
    <div class="using">
        <button @click="confirm">删除</button>
    </div>
</template>
